#!/bin/sh

if [ $# -lt 1 ]; then
    echo "no dir specified"
    exit 1
fi

find "$1" -type d -exec chmod 755 {} \;
find "$1" -type f -exec chmod 644 {} \;
